go/token.FileSet.last (field)
6 uses
go/token (current package)
position.go#L438: last atomic.Pointer[File] // cache of last file looked up
position.go#L496: s.last.Store(f)
position.go#L542: s.last.CompareAndSwap(file, nil) // clear last file cache
position.go#L568: if f := s.last.Load(); f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
position.go#L579: s.last.Store(n.file)
serialize.go#L41: s.last.Store(nil)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)